//
//  NetWorkHandle.h
//  SinceLe
//
//  Created by 李元喜 on 15/11/17.
//  Copyright © 2015年 李元喜. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef void(^MyBlock)(id object);

@interface NetWorkHandle : NSObject

+ (void)getDataWithURLString:(NSString *)string compare:(MyBlock)block;

+ (void)postDataWithURLString:(NSString *)string
                andBodyString:(NSString *)bodyString
                      compare:(MyBlock)block;

@end
